package com.chebaohui.iqs.service.impl.deal.libao.util;

/**
 * 利宝配置文件
 * 
 * @author regas_xie
 *
 */
public class LibaoConfig {
	/*
	 * 合作方名称：华瑞 合作方代码：LBI004 业务关系代码：CHQ002830 备案号：CXPTA2016070601 tocken分配ID:
	 * huarui-lbi 提供的密钥: 5DCB654CBBF3A6A56CA17AECA9ACFEBC client_secret:
	 * cea490c12b2fa96626dd129b3d1d9bc0 password:
	 * 07dbe56bf170f2e579990fc8b6397412
	 */
	/**
	 * token认证周期--15天
	 */
	public final static long dayToken = 1000 * 60 * 60 * 24 * 15;
	/***
	 * 缓存有效期--5小时
	 */
	public final static long dayExpired = 1000 * 60 * 60 * 5;

	/***
	 * 报价有效期--5分钟
	 */
	public static long priceExpired = 1000 * 60 * 1;
	/**
	 * 配送回调地址
	 */
	//public final static String back = "";

	/**
	 * 利宝请求URL地址
	 */
	public final static String libao_url;

	/**
	 * 利宝请求字段-客户端ID
	 */
	public final static String client_id;
	/**
	 * 利宝请求字段-客户端认证码
	 */
	public final static String client_secret;

	/**
	 * 利宝请求字段-认证类型
	 */
	public static final String grant_type;

	/**
	 * 利宝请求字段-用户名
	 */
	public final static String username;

	/**
	 * 利宝请求字段-密码
	 */
	public final static String password;

	/**
	 * 加密验证码
	 */
	public final static String pdk;

	/**
	 * 业务关系代码
	 */
	public final static String agreementNo;

	/**
	 * 合作方编号
	 */
	public final static String partnerAccountCode;

	/**
	 * 备案号
	 */
	public final static String recordCode;
	static {
		libao_url = "https://mi.libertymutual.com.cn";
		client_id = "huarui-lbi";
		client_secret = "cea490c12b2fa96626dd129b3d1d9bc0";
		grant_type = "password";
		username = "LBI004";
		password = "07dbe56bf170f2e579990fc8b6397412";
		pdk = "5DCB654CBBF3A6A56CA17AECA9ACFEBC";
		agreementNo = "CHQ002830";
		partnerAccountCode = "LBI004";
		recordCode = "CXPTA2016070601";
	}

//	static{
//			libao_url="https://uat-soa.libertymutual.com.cn";
//			client_id="huarui";
//			client_secret="f10a3d2618e32717db8c6d402daa7719";
//			grant_type="password";
//			username="LBS003";
//			password="ffa5c449745fdf46f144cd8debb51af1";
//			pdk="B56C45955B69D1B8CB8C8B650A49C228";
//			agreementNo="ZHJ000228";
//			partnerAccountCode="LBS003";
//			recordCode="CXPTA2016061401";
//
//	}
	
}
